package com.yilin.medical.activity;

import java.util.ArrayList;
import java.util.List;

import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.ListView;

import com.yilin.medical.R;
import com.yilin.medical.adapter.BingLiDetailsAdapter;
import com.yilin.medical.model.BingLiDetailsBean;

/**
 * 肿瘤详情页
 * 
 * @author lijianqun
 * 
 */
public class BingLiTaoLunDetailsActivity extends BaseActivity {
	private Context context;
	private ListView mListViewComment;
	private BingLiDetailsAdapter mAdapter;
	private List<BingLiDetailsBean> mList;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentViewWithTitle(R.layout.activity_binglitaolundetails);
		context = this;
		initView();
		registener();
		initData();
	}

	private void initView() {
		mTitle.getTitle().setText("病例讨论详情");
		mListViewComment = (ListView) findViewById(R.id.lv_zhuanjia);
	}

	private void registener() {
	}

	private void initData() {
		mList = new ArrayList<BingLiDetailsBean>();
		for (int i = 0; i < 5; i++) {
			mList.add(new BingLiDetailsBean());
		}
		mAdapter = new BingLiDetailsAdapter(context, mList);
		mListViewComment.setAdapter(mAdapter);
	}

	@Override
	public void onClick(View v) {
		super.onClick(v);
		switch (v.getId()) {
		}
	}


}
